/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package lab3.da523a;

/**
 *
 * @author zhaoyufei
 */
public class Lab3DA523A {

    /**
     * @param args the command line arguments
     */
    String name;
    int age;

    public static void main(String[] args) {
        Lab3DA523A a = new Lab3DA523A();
        a.reverseName();

    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void reverseName() {

        String s = new StringBuffer("hello").reverse().toString();

        System.out.println(s);

    }
}
